#include <nf_lib.h>

typedef struct{
	s32 lastframe, currentframe; // frames...
	s32 time; // Time...
	s16 speed;
	u8 play;
} spriteanim;

extern spriteanim spriteanims[2][128];

void setSpriteAnim(int screen,int idsprite,int nbframe,int speed);

void delteSpriteAnim(int screen,int idsprite);

void updateAnim();